#ifndef FILE_UTIL_H_INC
#define FILE_UTIL_H_INC

#include "string_list.h"

/*
BOOL Wstr2Cstr(char* cstrBuf, DWORD bufSize, const wchar_t* wstr);
BOOL Cstr2Wstr(wchar_t* wstrBuf, DWORD bufSize, const char* cstr);
*/

BOOL IsAbsPath(const char* path);
BOOL GetDirFromHostPath(char dirBuf[], DWORD bufSize, const char* hostPath);
const char* GetFileFromPath(const char* hostPath);
BOOL GetActionDeskDir(char dirBuf[], DWORD bufSize);
BOOL GetActionProductDir(char dirBuf[], DWORD bufSize, const char* configSuffix);
BOOL GetMyActionDeskDir(char dirBuf[], DWORD bufSize, int userId);
BOOL GetPrioDirPath(char dirPathBuf[], DWORD bufSize, StringList* pOptDirList);
BOOL GetPrioFilePath(char filePathBuf[], DWORD bufSize, StringList* pOptDirList, const char* filename);

#endif // FILE_UTIL_H_INC
